/* reads parameter from HTML page and converts it to an integer from a String */
Integer i = new Integer(0);
high = i.parseInt(getParameter("highest"));
}
public void paint(Graphics g)
{
int row = 1, col=1;
boolean isPrime;
/* TODO: Create an outer loop that makes theNum go from 1 to high (adding 1 every iteration). Also write an inner loop that checks each value of theNum from 2 up to theNum/2 */
if (isPrime) {
/* if theNum is prime, print it using g. This is inside the outer loop. */